class Foo:
    __field = 1

    def __method0(self):
        print(F'Foo_method()_{self.__field}')

    def public_method0(self):
        print(F'Foo👉__field的值是：{self.__field}')


foo = Foo()
# AttributeError: 'Foo' object has no attribute '__field'
# print(foo.__field == 1)

# AttributeError: 'Foo' object has no attribute '__method0'. Did you mean: '_Foo__method0'?
# foo.__method0()

foo.public_method0()
